OBJ = main.o player.o geometry.o hexworld.o

hexworld:	$(OBJ)
	g++ -o hexworld $(OBJ)

# Development deck
development_deck.o:	development_deck.h
development_deck_test.o:	development_deck.h
development_deck_test:  development_deck.o development_deck_test.o
	g++ -o development_deck_test development_deck.o development_deck_test.o

# Geometry
geometry.o:	geometry.h
geometry_test.o:	geometry.h
geometry_test:	geometry.o geometry_test.o
	g++ -o geometry_test geometry.o geometry_test.o

main.o:		hexworld.h resource.h
player.o:	hexworld.h resource.h player.h
